Skip to content

support for image attachments when classifying questions #6675

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

escattone
Copy link
Contributor

@escattone escattone commented May 23, 2025

@escattone escattone force-pushed the support-question-images-when-classifying branch from 5f5067e to a3ecf60 Compare May 23, 2025 04:21
@escattone escattone marked this pull request as ready for review May 23, 2025 04:22
@escattone escattone requested a review from akatsoulas May 23, 2025 04:27
@escattone escattone force-pushed the support-question-images-when-classifying branch 2 times, most recently from 229c1be to 56357ef Compare May 23, 2025 04:42
@akatsoulas
Copy link
Collaborator

I am not certain that we need to support images at the moment. Adding images will require a headless browser to do the capturing and it's going to raise the cost per query without knowing at this point if we need this. Preliminary testing shows that using just text works fine. Because of the above, I am hesitant to add code that we don't know if we are going to need

@escattone
Copy link
Contributor Author

escattone commented May 23, 2025

Adding images will require a headless browser to do the capturing

No, adding images like this does not require a headless browser. This code works as it is. I've already tested it. Our VertexAI backend grabs the images from the URL's we provide, and feeds them into the LLM along with the text.

@escattone escattone force-pushed the support-question-images-when-classifying branch 2 times, most recently from 3e600f3 to e9ff20e Compare May 30, 2025 22:27
@escattone escattone force-pushed the support-question-images-when-classifying branch from e9ff20e to 72f4391 Compare May 30, 2025 22:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants